package com.looli.srb.core.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.looli.srb.core.pojo.entity.BorrowInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.HashMap;
import java.util.Map;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BorrowInfoVO对象", description="借款信息表VO")
public class BorrowInfoVO extends BorrowInfo {
    //扩展字段
    @ApiModelProperty(value = "姓名")
    @TableField(exist = false)
    private String name;

    @ApiModelProperty(value = "手机")
    @TableField(exist = false)
    private String mobile;

    @ApiModelProperty(value = "其他参数")
    @TableField(exist = false)
    private Map<String,Object> param = new HashMap<>();
}
